package com.atguigu.gmall.common.config.mq;

import com.atguigu.gmall.common.config.mq.service.MqService;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @Description
 * @Return
 * @Author https://weiranyi.github.io
 * @Date Created in 2022-12-22 18:53
 **/
@AutoConfigureAfter(RabbitAutoConfiguration.class)
@EnableRabbit //开启注解版的RabbitMQ
@Import(MqService.class)
@Configuration
public class MqAutoConfiguration {

}
